package com.luckmgr.service.impl;


import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.common.service.BaseService;
import com.luckmgr.dao.LevelPrizeMapper;
import com.luckmgr.entity.db.LevelPrize;
import com.luckmgr.service.LevelPrizeService;


@Service
public class LevelPrizeServiceImpl extends BaseService<LevelPrize> implements LevelPrizeService {
	
	
	LevelPrizeMapper levelPrizeMapper;
	
	@Resource(name="levelPrizeMapper")
    public void initCompanyMapper(LevelPrizeMapper levelPrizeMapper) {
		this.levelPrizeMapper = levelPrizeMapper;
        super.setBaseDao(levelPrizeMapper);
    }

	@Override
	public void updatePrizeNum(Integer aid, Integer lid, Integer pid) {
		levelPrizeMapper.updatePrizeNum(aid, lid, pid);
	}

}